<template>
  <div>
    <h2>我是子组件</h2>
  </div>
</template>

<script>
export default {
  name: 'MyModal',

  data() {
    return {
      sonValue: '我是子组件内的值',
    }
  },

  methods: {
    sayHi() {
      console.log('hi')
    },
  },
}
</script>

<style scoped></style>
